package com.gpzx.zx.module.mine.frame.presenter

import com.wkq.base.frame.mosby.MvpBasePresenter

import com.gpzx.zx.module.mine.frame.view.CollectionView
import com.gpzx.zx.module.mine.ui.activity.CollectionActivity
import com.wkq.database.utils.DataBaseUtils

/**
 *
 * 作者:吴奎庆
 *
 * 时间:2020/6/14
 *
 * 用途:
 */


class CollectionPresenter : MvpBasePresenter<CollectionView>() {
    fun initData(collectionActivity: CollectionActivity) {
       var collectionList= DataBaseUtils.getCollectionNewsInfo(collectionActivity);
        view.showData(collectionList)

    }
}